﻿using BW.Demo.Domain.Entities;
using Microsoft.EntityFrameworkCore;

namespace BW.Demo.WebApi.BaseDbContext
{
    public class DemoContext : DbContext
    {
        public DemoContext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<TraceabilityManagement> TraceabilityManagements { get; set; }
        public DbSet<Role> Roles { get; set; }
        public DbSet<User> Users { get; set; }
        public DbSet<UserRole> UserRoles { get; set; }
        public DbSet<Aquaculture> Aquacultures { get; set; }
        public DbSet<BreedingEnterprise> BreedingEnterprises { get; set; }
        public DbSet<Health> Healths { get; set; }
        public DbSet<PictureInformation> PictureInformations { get; set; }
        public DbSet<ProcessingEnterprise> ProcessingEnterprises { get;set; }
        public DbSet<ProcessingInformation> ProcessingInformations { get; set; }
        public DbSet<ProductName> productNames { get; set; }
        public DbSet<SlaughteringEnterprise> SlaughteringEnterprises{ get; set; }
        public DbSet<SlaughteringInformation> SlaughteringInformations{ get; set; }
        public DbSet<Supplier> suppliers { get; set; }
       

        //protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        //{
        //    base.OnConfiguring(optionsBuilder);
        //}
        //protected override void OnModelCreating(ModelBuilder modelBuilder)
        //{
        //    base.OnModelCreating(modelBuilder);
        //}
    }
    
}
